home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(_name ne "floor" && alive && _root.man0.active)
- {
- currentx = Internal_X + _root.man0.offsetX;
- currenty = Internal_Y + _root.man0.offsetY;
- if(currentx < 1000 && -500 < currentx && -100 < currenty && currenty < 400)
- {
- onscreen = true;
- }
- else
- {
- onscreen = false;
- _visible = false;
- }
- if(onscreen)
- {
- _visible = true;
- _X = currentx;
- _Y = currenty;
- }
- }
- }
-